home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: DC 0.98 (20.10.1997) © Marco Wollkopf
- E-Mail: Marco.Wollkopf@t-online.de
- Homepage: http://home.t-online.de/home/Marco.Wollkopf
- */
-
- signal on error
- options results
-
- /*-- Port holen --*/
- if show("p","DOPUS.1") then
- address DOPUS.1
- else do
- say "DirectoryOpus Port nicht gefunden"
- exit
- end
-
- /*-- Parser --*/
- parse arg file
- file=strip(strip(file,'b','"'),'b',' ')
-
- if file~="" then do
- if file="?" then do
- call error
- end
- else do
- file= '"'||file||'"'
- command doubleclick file
- end
- end
- else
- call error
- exit
-
- /*-- Fehler --*/
- error:
- SAY "DC (DoubleClick) V0.98, Teil des WolleDOpus Paketes"||D2C(10)||"Simuliert einen DOpus Doppelklick auf die angegebene Datei"||D2C(10)||"Copyright © 1997 Marco Wollkopf"
- SAY D2C(10)||"Optionen: FILE/A"
- SAY D2C(10)||"FILE: Datei, auf die das Kommando angewendet werden soll"
- SAY D2C(10)||"Hilfe mit ?"
- exit
- return
-